﻿namespace ACCOUNTING
{
    using ACCOUNTING.LVY.Business;
    using C1.Win.C1Command;
    using Microsoft.VisualBasic.CompilerServices;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Diagnostics;
    using System.Drawing;
    using System.IO;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms;

    [DesignerGenerated]
    public class Frm_ThongTinCongTy : Form
    {
        private static List<WeakReference> __ENCList = new List<WeakReference>();
        [AccessedThroughProperty("browseImageButton")]
        private Button _browseImageButton;
        [AccessedThroughProperty("browseImageOpenFileDialog")]
        private OpenFileDialog _browseImageOpenFileDialog;
        [AccessedThroughProperty("C1DockingTab1")]
        private C1DockingTab _C1DockingTab1;
        [AccessedThroughProperty("C1DockingTabPage1")]
        private C1DockingTabPage _C1DockingTabPage1;
        [AccessedThroughProperty("CmdOK")]
        private Button _CmdOK;
        [AccessedThroughProperty("CmdRemoveImage")]
        private Button _CmdRemoveImage;
        [AccessedThroughProperty("CmdThoat")]
        private Button _CmdThoat;
        [AccessedThroughProperty("ImgPicture")]
        private PictureBox _ImgPicture;
        [AccessedThroughProperty("Label1")]
        private Label _Label1;
        [AccessedThroughProperty("Label10")]
        private Label _Label10;
        [AccessedThroughProperty("Label11")]
        private Label _Label11;
        [AccessedThroughProperty("Label12")]
        private Label _Label12;
        [AccessedThroughProperty("Label13")]
        private Label _Label13;
        [AccessedThroughProperty("Label14")]
        private Label _Label14;
        [AccessedThroughProperty("Label15")]
        private Label _Label15;
        [AccessedThroughProperty("Label16")]
        private Label _Label16;
        [AccessedThroughProperty("Label17")]
        private Label _Label17;
        [AccessedThroughProperty("Label2")]
        private Label _Label2;
        [AccessedThroughProperty("Label3")]
        private Label _Label3;
        [AccessedThroughProperty("Label4")]
        private Label _Label4;
        [AccessedThroughProperty("Label5")]
        private Label _Label5;
        [AccessedThroughProperty("Label6")]
        private Label _Label6;
        [AccessedThroughProperty("Label7")]
        private Label _Label7;
        [AccessedThroughProperty("Label8")]
        private Label _Label8;
        [AccessedThroughProperty("Label9")]
        private Label _Label9;
        [AccessedThroughProperty("TxtDiaChiNganHang")]
        private TextBox _TxtDiaChiNganHang;
        [AccessedThroughProperty("TxtDiaChiTA")]
        private TextBox _TxtDiaChiTA;
        [AccessedThroughProperty("TxtDiaChiTV")]
        private TextBox _TxtDiaChiTV;
        [AccessedThroughProperty("TxtDienThoai")]
        private TextBox _TxtDienThoai;
        [AccessedThroughProperty("TxtEmail")]
        private TextBox _TxtEmail;
        [AccessedThroughProperty("TxtFax")]
        private TextBox _TxtFax;
        [AccessedThroughProperty("TxtHotLine")]
        private TextBox _TxtHotLine;
        [AccessedThroughProperty("TxtMaSoThue")]
        private TextBox _TxtMaSoThue;
        [AccessedThroughProperty("TxtNganHang")]
        private TextBox _TxtNganHang;
        [AccessedThroughProperty("TxtSoTaiKhoanUSD")]
        private TextBox _TxtSoTaiKhoanUSD;
        [AccessedThroughProperty("TxtSoTaiKhoanVND")]
        private TextBox _TxtSoTaiKhoanVND;
        [AccessedThroughProperty("TxtSwiftCode")]
        private TextBox _TxtSwiftCode;
        [AccessedThroughProperty("TxtTenAnh")]
        private TextBox _TxtTenAnh;
        [AccessedThroughProperty("TxtTenTaiKhoan")]
        private TextBox _TxtTenTaiKhoan;
        [AccessedThroughProperty("TxtTenViet")]
        private TextBox _TxtTenViet;
        [AccessedThroughProperty("TxtWebsite")]
        private TextBox _TxtWebsite;
        private IContainer components;
        private bool mAllowAdd;
        private bool mAllowDel;
        private bool mAllowEdit;
        private bool mAllowView;
        private ThongTinCongTy objCompanyInfor;

        public Frm_ThongTinCongTy()
        {
            base.KeyDown += new KeyEventHandler(this.Frm_ThongTinCongTy_KeyDown);
            base.Load += new EventHandler(this.Frm_ThongTinCongTy_Load);
            List<WeakReference> list = __ENCList;
            lock (list)
            {
                __ENCList.Add(new WeakReference(this));
            }
            this.objCompanyInfor = new ThongTinCongTy();
            this.InitializeComponent();
        }

        private void browseImageButton_Click(object sender, EventArgs e)
        {
            this.browseImageOpenFileDialog.Title = "Select an Image to Import";
            this.browseImageOpenFileDialog.Multiselect = false;
            this.browseImageOpenFileDialog.Filter = "JPEG Compressed Image(*.jpg)|*.jpg";
            this.browseImageOpenFileDialog.FilterIndex = 2;
            this.browseImageOpenFileDialog.FileName = "";
            if (this.browseImageOpenFileDialog.ShowDialog() == DialogResult.OK)
            {
                this.ImgPicture.Tag = this.browseImageOpenFileDialog.FileName;
                this.ImgPicture.Image = Image.FromFile(this.browseImageOpenFileDialog.FileName);
            }
        }

        private void CmdOK_Click(object sender, EventArgs e)
        {
            ThongTinCongTy objCompanyInfor = this.objCompanyInfor;
            objCompanyInfor.TenCongTyViet = this.TxtTenViet.Text;
            objCompanyInfor.TenCongTyAnh = this.TxtTenAnh.Text;
            objCompanyInfor.DiaChiAnh = this.TxtDiaChiTA.Text;
            objCompanyInfor.DiaChiViet = this.TxtDiaChiTV.Text;
            objCompanyInfor.DienThoai = this.TxtDienThoai.Text;
            objCompanyInfor.Fax = this.TxtFax.Text;
            objCompanyInfor.TenNganHang = this.TxtNganHang.Text;
            objCompanyInfor.Email = this.TxtEmail.Text;
            objCompanyInfor.Website = this.TxtWebsite.Text;
            objCompanyInfor.MaSoThue = this.TxtMaSoThue.Text;
            objCompanyInfor.SoTaiKhoanVND = this.TxtSoTaiKhoanVND.Text;
            objCompanyInfor.SoTaiKhoanUSD = this.TxtSoTaiKhoanUSD.Text;
            objCompanyInfor.SwiftCode = this.TxtSwiftCode.Text;
            objCompanyInfor.HotLine = this.TxtHotLine.Text;
            objCompanyInfor.KhoaDonVi = modGeneral.H_CLIENT;
            objCompanyInfor.TenTaiKhoan = this.TxtTenTaiKhoan.Text;
            objCompanyInfor.PhienBanQuyetDinh = modGeneral.H_PHIENBANQUYETDINH;
            objCompanyInfor.Save();
            MemoryStream stream = new MemoryStream();
            if (this.ImgPicture.Image != null)
            {
                this.ImgPicture.Image.Save(stream, this.ImgPicture.Image.RawFormat);
                byte[] buffer = stream.GetBuffer();
                objCompanyInfor.Logo = buffer;
            }
            else
            {
                objCompanyInfor.Logo = null;
            }
            objCompanyInfor.UpdateLogo(0);
            objCompanyInfor = null;
            string commandText = " UPDATE HT_Config SET DaNhapTTCT = 1 WHERE KhoaDonVi = '" + modGeneral.H_CLIENT + "'";
            DBHelper.ExecuteNonQuery(modGeneral.ConnectionString, CommandType.Text, commandText, new IDataParameter[0]);
            LVYModule.InitInformation();
            this.Dispose();
        }

        private void CmdRemoveImage_Click(object sender, EventArgs e)
        {
            this.ImgPicture.Image = null;
        }

        private void CmdThoat_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        [DebuggerNonUserCode]
        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void Frm_ThongTinCongTy_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.F1)
            {
                LVYModule.ShowHelp(@"QuanLyHeThong\Thong tin cong ty.mht");
            }
        }

        private void Frm_ThongTinCongTy_Load(object sender, EventArgs e)
        {
            LVYModule.GetUserRight(ref this.mAllowView, ref this.mAllowDel, ref this.mAllowEdit, ref this.mAllowAdd, Conversions.ToString(this.Tag), modGeneral.H_USERNAME);
            if (!this.mAllowView)
            {
                LVYModule.ShowWarning(modGeneral.Tranlated("Bạn kh\x00f4ng c\x00f3 quyền xem, li\x00ean hệ với người quản trị để biết th\x00eam chi tiết.", ""));
                this.Dispose();
            }
            else
            {
                this.objCompanyInfor.Load(modGeneral.H_CLIENT);
                ThongTinCongTy objCompanyInfor = this.objCompanyInfor;
                this.TxtTenViet.Text = objCompanyInfor.TenCongTyViet;
                this.TxtTenAnh.Text = objCompanyInfor.TenCongTyAnh;
                this.TxtDiaChiTA.Text = objCompanyInfor.DiaChiAnh;
                this.TxtDiaChiTV.Text = objCompanyInfor.DiaChiViet;
                this.TxtDienThoai.Text = objCompanyInfor.DienThoai;
                this.TxtFax.Text = objCompanyInfor.Fax;
                this.TxtNganHang.Text = objCompanyInfor.TenNganHang;
                this.TxtEmail.Text = objCompanyInfor.Email;
                this.TxtWebsite.Text = objCompanyInfor.Website;
                this.TxtMaSoThue.Text = objCompanyInfor.MaSoThue;
                this.TxtSoTaiKhoanVND.Text = objCompanyInfor.SoTaiKhoanVND;
                this.TxtSoTaiKhoanUSD.Text = objCompanyInfor.SoTaiKhoanUSD;
                this.TxtSwiftCode.Text = objCompanyInfor.SwiftCode;
                this.TxtHotLine.Text = objCompanyInfor.HotLine;
                this.TxtTenTaiKhoan.Text = objCompanyInfor.TenTaiKhoan;
                if (objCompanyInfor.Logo != null)
                {
                    MemoryStream stream = new MemoryStream(objCompanyInfor.Logo);
                    this.ImgPicture.Image = Image.FromStream(stream);
                }
                objCompanyInfor = null;
            }
        }

        [DebuggerStepThrough]
        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(Frm_ThongTinCongTy));
            this.Label15 = new Label();
            this.TxtDiaChiTV = new TextBox();
            this.Label14 = new Label();
            this.TxtSwiftCode = new TextBox();
            this.Label13 = new Label();
            this.TxtSoTaiKhoanUSD = new TextBox();
            this.Label12 = new Label();
            this.TxtSoTaiKhoanVND = new TextBox();
            this.Label11 = new Label();
            this.TxtTenTaiKhoan = new TextBox();
            this.Label10 = new Label();
            this.TxtMaSoThue = new TextBox();
            this.Label9 = new Label();
            this.TxtDiaChiNganHang = new TextBox();
            this.Label8 = new Label();
            this.TxtNganHang = new TextBox();
            this.Label7 = new Label();
            this.TxtWebsite = new TextBox();
            this.Label6 = new Label();
            this.TxtEmail = new TextBox();
            this.Label5 = new Label();
            this.TxtFax = new TextBox();
            this.Label4 = new Label();
            this.TxtDienThoai = new TextBox();
            this.Label3 = new Label();
            this.TxtDiaChiTA = new TextBox();
            this.Label2 = new Label();
            this.TxtTenAnh = new TextBox();
            this.Label1 = new Label();
            this.TxtTenViet = new TextBox();
            this.CmdThoat = new Button();
            this.CmdOK = new Button();
            this.C1DockingTab1 = new C1DockingTab();
            this.C1DockingTabPage1 = new C1DockingTabPage();
            this.Label17 = new Label();
            this.CmdRemoveImage = new Button();
            this.browseImageButton = new Button();
            this.ImgPicture = new PictureBox();
            this.TxtHotLine = new TextBox();
            this.Label16 = new Label();
            this.browseImageOpenFileDialog = new OpenFileDialog();
            ((ISupportInitialize) this.C1DockingTab1).BeginInit();
            this.C1DockingTab1.SuspendLayout();
            this.C1DockingTabPage1.SuspendLayout();
            ((ISupportInitialize) this.ImgPicture).BeginInit();
            this.SuspendLayout();
            this.Label15.AutoSize = true;
            this.Label15.BackColor = Color.Transparent;
            Point point = new Point(9, 0x44);
            this.Label15.Location = point;
            this.Label15.Name = "Label15";
            Size size = new Size(0x61, 13);
            this.Label15.Size = size;
            this.Label15.TabIndex = 4;
            this.Label15.Text = "Địa chỉ (Tiếng Việt)";
            point = new Point(0x7f, 0x41);
            this.TxtDiaChiTV.Location = point;
            this.TxtDiaChiTV.Name = "TxtDiaChiTV";
            size = new Size(0x1f8, 20);
            this.TxtDiaChiTV.Size = size;
            this.TxtDiaChiTV.TabIndex = 5;
            this.Label14.AutoSize = true;
            this.Label14.BackColor = Color.Transparent;
            point = new Point(9, 0x149);
            this.Label14.Location = point;
            this.Label14.Name = "Label14";
            size = new Size(0x39, 13);
            this.Label14.Size = size;
            this.Label14.TabIndex = 30;
            this.Label14.Text = "Siwft code";
            point = new Point(0x7f, 0x146);
            this.TxtSwiftCode.Location = point;
            this.TxtSwiftCode.Name = "TxtSwiftCode";
            size = new Size(0xd5, 20);
            this.TxtSwiftCode.Size = size;
            this.TxtSwiftCode.TabIndex = 0x1f;
            this.Label13.AutoSize = true;
            this.Label13.BackColor = Color.Transparent;
            point = new Point(0x159, 0x12f);
            this.Label13.Location = point;
            this.Label13.Name = "Label13";
            size = new Size(0x63, 13);
            this.Label13.Size = size;
            this.Label13.TabIndex = 0x1c;
            this.Label13.Text = "Số t\x00e0i khoản (USD)";
            point = new Point(0x1bd, 300);
            this.TxtSoTaiKhoanUSD.Location = point;
            this.TxtSoTaiKhoanUSD.Name = "TxtSoTaiKhoanUSD";
            size = new Size(0xba, 20);
            this.TxtSoTaiKhoanUSD.Size = size;
            this.TxtSoTaiKhoanUSD.TabIndex = 0x1d;
            this.Label12.AutoSize = true;
            this.Label12.BackColor = Color.Transparent;
            point = new Point(9, 0x12f);
            this.Label12.Location = point;
            this.Label12.Name = "Label12";
            size = new Size(0x63, 13);
            this.Label12.Size = size;
            this.Label12.TabIndex = 0x1a;
            this.Label12.Text = "Số t\x00e0i khoản (VND)";
            point = new Point(0x7f, 300);
            this.TxtSoTaiKhoanVND.Location = point;
            this.TxtSoTaiKhoanVND.Name = "TxtSoTaiKhoanVND";
            size = new Size(0xd5, 20);
            this.TxtSoTaiKhoanVND.Size = size;
            this.TxtSoTaiKhoanVND.TabIndex = 0x1b;
            this.Label11.AutoSize = true;
            this.Label11.BackColor = Color.Transparent;
            point = new Point(9, 0x115);
            this.Label11.Location = point;
            this.Label11.Name = "Label11";
            size = new Size(0x49, 13);
            this.Label11.Size = size;
            this.Label11.TabIndex = 0x18;
            this.Label11.Text = "T\x00ean t\x00e0i khoản";
            point = new Point(0x7f, 0x112);
            this.TxtTenTaiKhoan.Location = point;
            this.TxtTenTaiKhoan.Name = "TxtTenTaiKhoan";
            size = new Size(0x1f8, 20);
            this.TxtTenTaiKhoan.Size = size;
            this.TxtTenTaiKhoan.TabIndex = 0x19;
            this.Label10.AutoSize = true;
            this.Label10.BackColor = Color.Transparent;
            point = new Point(9, 0x92);
            this.Label10.Location = point;
            this.Label10.Name = "Label10";
            size = new Size(60, 13);
            this.Label10.Size = size;
            this.Label10.TabIndex = 12;
            this.Label10.Text = "M\x00e3 số thuế";
            point = new Point(0x7f, 0x8f);
            this.TxtMaSoThue.Location = point;
            this.TxtMaSoThue.MaxLength = 14;
            this.TxtMaSoThue.Name = "TxtMaSoThue";
            size = new Size(0xd5, 20);
            this.TxtMaSoThue.Size = size;
            this.TxtMaSoThue.TabIndex = 13;
            this.Label9.AutoSize = true;
            this.Label9.BackColor = Color.Transparent;
            point = new Point(9, 0xfb);
            this.Label9.Location = point;
            this.Label9.Name = "Label9";
            size = new Size(0x5e, 13);
            this.Label9.Size = size;
            this.Label9.TabIndex = 0x16;
            this.Label9.Text = "Địa chỉ ng\x00e2n h\x00e0ng";
            point = new Point(0x7f, 0xf8);
            this.TxtDiaChiNganHang.Location = point;
            this.TxtDiaChiNganHang.Name = "TxtDiaChiNganHang";
            size = new Size(0x1f8, 20);
            this.TxtDiaChiNganHang.Size = size;
            this.TxtDiaChiNganHang.TabIndex = 0x17;
            this.Label8.AutoSize = true;
            this.Label8.BackColor = Color.Transparent;
            point = new Point(9, 0xe1);
            this.Label8.Location = point;
            this.Label8.Name = "Label8";
            size = new Size(0x6a, 13);
            this.Label8.Size = size;
            this.Label8.TabIndex = 20;
            this.Label8.Text = "Ng\x00e2n h\x00e0ng giao dịch";
            point = new Point(0x7f, 0xde);
            this.TxtNganHang.Location = point;
            this.TxtNganHang.Name = "TxtNganHang";
            size = new Size(0x1f8, 20);
            this.TxtNganHang.Size = size;
            this.TxtNganHang.TabIndex = 0x15;
            this.Label7.AutoSize = true;
            this.Label7.BackColor = Color.Transparent;
            point = new Point(9, 0xc7);
            this.Label7.Location = point;
            this.Label7.Name = "Label7";
            size = new Size(0x2e, 13);
            this.Label7.Size = size;
            this.Label7.TabIndex = 0x12;
            this.Label7.Text = "Website";
            point = new Point(0x7f, 0xc4);
            this.TxtWebsite.Location = point;
            this.TxtWebsite.Name = "TxtWebsite";
            size = new Size(0x1f8, 20);
            this.TxtWebsite.Size = size;
            this.TxtWebsite.TabIndex = 0x13;
            this.Label6.AutoSize = true;
            this.Label6.BackColor = Color.Transparent;
            point = new Point(9, 0xad);
            this.Label6.Location = point;
            this.Label6.Name = "Label6";
            size = new Size(0x20, 13);
            this.Label6.Size = size;
            this.Label6.TabIndex = 0x10;
            this.Label6.Text = "Email";
            point = new Point(0x7f, 170);
            this.TxtEmail.Location = point;
            this.TxtEmail.Name = "TxtEmail";
            size = new Size(0x1f8, 20);
            this.TxtEmail.Size = size;
            this.TxtEmail.TabIndex = 0x11;
            this.Label5.AutoSize = true;
            this.Label5.BackColor = Color.Transparent;
            point = new Point(0x167, 0x92);
            this.Label5.Location = point;
            this.Label5.Name = "Label5";
            size = new Size(0x18, 13);
            this.Label5.Size = size;
            this.Label5.TabIndex = 14;
            this.Label5.Text = "Fax";
            point = new Point(0x1bd, 0x8f);
            this.TxtFax.Location = point;
            this.TxtFax.Name = "TxtFax";
            size = new Size(0xba, 20);
            this.TxtFax.Size = size;
            this.TxtFax.TabIndex = 15;
            this.Label4.AutoSize = true;
            this.Label4.BackColor = Color.Transparent;
            point = new Point(9, 120);
            this.Label4.Location = point;
            this.Label4.Name = "Label4";
            size = new Size(0x37, 13);
            this.Label4.Size = size;
            this.Label4.TabIndex = 8;
            this.Label4.Text = "Điện thoại";
            point = new Point(0x7f, 0x75);
            this.TxtDienThoai.Location = point;
            this.TxtDienThoai.Name = "TxtDienThoai";
            size = new Size(0xd5, 20);
            this.TxtDienThoai.Size = size;
            this.TxtDienThoai.TabIndex = 9;
            this.Label3.AutoSize = true;
            this.Label3.BackColor = Color.Transparent;
            point = new Point(9, 0x5e);
            this.Label3.Location = point;
            this.Label3.Name = "Label3";
            size = new Size(0x62, 13);
            this.Label3.Size = size;
            this.Label3.TabIndex = 6;
            this.Label3.Text = "Địa chỉ (Tiếng Anh)";
            point = new Point(0x7f, 0x5b);
            this.TxtDiaChiTA.Location = point;
            this.TxtDiaChiTA.Name = "TxtDiaChiTA";
            size = new Size(0x1f8, 20);
            this.TxtDiaChiTA.Size = size;
            this.TxtDiaChiTA.TabIndex = 7;
            this.Label2.AutoSize = true;
            this.Label2.BackColor = Color.Transparent;
            point = new Point(9, 0x2a);
            this.Label2.Location = point;
            this.Label2.Name = "Label2";
            size = new Size(0x54, 13);
            this.Label2.Size = size;
            this.Label2.TabIndex = 2;
            this.Label2.Text = "T\x00ean (Tiếng Anh)";
            point = new Point(0x7f, 0x27);
            this.TxtTenAnh.Location = point;
            this.TxtTenAnh.Name = "TxtTenAnh";
            size = new Size(0x1f8, 20);
            this.TxtTenAnh.Size = size;
            this.TxtTenAnh.TabIndex = 3;
            this.Label1.AutoSize = true;
            this.Label1.BackColor = Color.Transparent;
            point = new Point(9, 0x10);
            this.Label1.Location = point;
            this.Label1.Name = "Label1";
            size = new Size(0x53, 13);
            this.Label1.Size = size;
            this.Label1.TabIndex = 0;
            this.Label1.Text = "T\x00ean (Tiếng Việt)";
            point = new Point(0x7f, 13);
            this.TxtTenViet.Location = point;
            this.TxtTenViet.Name = "TxtTenViet";
            size = new Size(0x1f8, 20);
            this.TxtTenViet.Size = size;
            this.TxtTenViet.TabIndex = 1;
            this.CmdThoat.DialogResult = DialogResult.Cancel;
            this.CmdThoat.Image = (Image) manager.GetObject("CmdThoat.Image");
            this.CmdThoat.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(0x2e2, 0x197);
            this.CmdThoat.Location = point;
            this.CmdThoat.Name = "CmdThoat";
            size = new Size(0x55, 0x1c);
            this.CmdThoat.Size = size;
            this.CmdThoat.TabIndex = 2;
            this.CmdThoat.Text = "&Tho\x00e1t";
            this.CmdThoat.UseVisualStyleBackColor = true;
            this.CmdOK.Image = (Image) manager.GetObject("CmdOK.Image");
            this.CmdOK.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(0x288, 0x197);
            this.CmdOK.Location = point;
            this.CmdOK.Name = "CmdOK";
            size = new Size(0x54, 0x1c);
            this.CmdOK.Size = size;
            this.CmdOK.TabIndex = 1;
            this.CmdOK.Text = "&Chọn";
            this.CmdOK.UseVisualStyleBackColor = true;
            this.C1DockingTab1.Controls.Add(this.C1DockingTabPage1);
            point = new Point(0, -1);
            this.C1DockingTab1.Location = point;
            this.C1DockingTab1.Name = "C1DockingTab1";
            size = new Size(0x338, 0x192);
            this.C1DockingTab1.Size = size;
            this.C1DockingTab1.TabIndex = 0;
            this.C1DockingTab1.TabsSpacing = 5;
            this.C1DockingTab1.TabStyle = TabStyleEnum.Office2007;
            this.C1DockingTab1.VisualStyle = VisualStyle.Office2007Blue;
            this.C1DockingTab1.VisualStyleBase = VisualStyle.Office2007Blue;
            this.C1DockingTabPage1.Controls.Add(this.Label17);
            this.C1DockingTabPage1.Controls.Add(this.CmdRemoveImage);
            this.C1DockingTabPage1.Controls.Add(this.browseImageButton);
            this.C1DockingTabPage1.Controls.Add(this.ImgPicture);
            this.C1DockingTabPage1.Controls.Add(this.TxtHotLine);
            this.C1DockingTabPage1.Controls.Add(this.Label16);
            this.C1DockingTabPage1.Controls.Add(this.Label15);
            this.C1DockingTabPage1.Controls.Add(this.Label14);
            this.C1DockingTabPage1.Controls.Add(this.TxtSwiftCode);
            this.C1DockingTabPage1.Controls.Add(this.TxtTenViet);
            this.C1DockingTabPage1.Controls.Add(this.TxtDiaChiTV);
            this.C1DockingTabPage1.Controls.Add(this.Label1);
            this.C1DockingTabPage1.Controls.Add(this.TxtTenAnh);
            this.C1DockingTabPage1.Controls.Add(this.Label2);
            this.C1DockingTabPage1.Controls.Add(this.Label13);
            this.C1DockingTabPage1.Controls.Add(this.TxtDiaChiTA);
            this.C1DockingTabPage1.Controls.Add(this.TxtSoTaiKhoanUSD);
            this.C1DockingTabPage1.Controls.Add(this.Label3);
            this.C1DockingTabPage1.Controls.Add(this.Label12);
            this.C1DockingTabPage1.Controls.Add(this.TxtDienThoai);
            this.C1DockingTabPage1.Controls.Add(this.TxtSoTaiKhoanVND);
            this.C1DockingTabPage1.Controls.Add(this.Label4);
            this.C1DockingTabPage1.Controls.Add(this.Label11);
            this.C1DockingTabPage1.Controls.Add(this.TxtFax);
            this.C1DockingTabPage1.Controls.Add(this.TxtTenTaiKhoan);
            this.C1DockingTabPage1.Controls.Add(this.Label5);
            this.C1DockingTabPage1.Controls.Add(this.Label10);
            this.C1DockingTabPage1.Controls.Add(this.TxtEmail);
            this.C1DockingTabPage1.Controls.Add(this.TxtMaSoThue);
            this.C1DockingTabPage1.Controls.Add(this.Label6);
            this.C1DockingTabPage1.Controls.Add(this.Label9);
            this.C1DockingTabPage1.Controls.Add(this.TxtWebsite);
            this.C1DockingTabPage1.Controls.Add(this.TxtDiaChiNganHang);
            this.C1DockingTabPage1.Controls.Add(this.Label7);
            this.C1DockingTabPage1.Controls.Add(this.Label8);
            this.C1DockingTabPage1.Controls.Add(this.TxtNganHang);
            this.C1DockingTabPage1.Image = (Image) manager.GetObject("C1DockingTabPage1.Image");
            point = new Point(1, 0x29);
            this.C1DockingTabPage1.Location = point;
            this.C1DockingTabPage1.Name = "C1DockingTabPage1";
            size = new Size(0x336, 360);
            this.C1DockingTabPage1.Size = size;
            this.C1DockingTabPage1.TabIndex = 0;
            this.C1DockingTabPage1.Text = "Th\x00f4ng tin c\x00f4ng ty";
            this.Label17.AutoSize = true;
            this.Label17.BackColor = Color.Transparent;
            this.Label17.Font = new Font("Microsoft Sans Serif", 10f, FontStyle.Bold, GraphicsUnit.Point, 0);
            this.Label17.ForeColor = Color.DarkGreen;
            point = new Point(670, 0x13);
            this.Label17.Location = point;
            this.Label17.Name = "Label17";
            size = new Size(120, 0x11);
            this.Label17.Size = size;
            this.Label17.TabIndex = 0x52;
            this.Label17.Text = "H\x00ccNH C\x00d4NG TY";
            point = new Point(730, 220);
            this.CmdRemoveImage.Location = point;
            this.CmdRemoveImage.Name = "CmdRemoveImage";
            size = new Size(70, 0x17);
            this.CmdRemoveImage.Size = size;
            this.CmdRemoveImage.TabIndex = 0x51;
            this.CmdRemoveImage.Text = "Gỡ h\x00ecnh";
            point = new Point(0x28d, 220);
            this.browseImageButton.Location = point;
            this.browseImageButton.Name = "browseImageButton";
            size = new Size(70, 0x17);
            this.browseImageButton.Size = size;
            this.browseImageButton.TabIndex = 80;
            this.browseImageButton.Text = "Ch\x00e8n h\x00ecnh";
            this.ImgPicture.BorderStyle = BorderStyle.FixedSingle;
            point = new Point(0x27f, 0x27);
            this.ImgPicture.Location = point;
            this.ImgPicture.Name = "ImgPicture";
            size = new Size(0xb0, 0xb1);
            this.ImgPicture.Size = size;
            this.ImgPicture.SizeMode = PictureBoxSizeMode.StretchImage;
            this.ImgPicture.TabIndex = 0x4f;
            this.ImgPicture.TabStop = false;
            point = new Point(0x1bd, 0x75);
            this.TxtHotLine.Location = point;
            this.TxtHotLine.Name = "TxtHotLine";
            size = new Size(0xba, 20);
            this.TxtHotLine.Size = size;
            this.TxtHotLine.TabIndex = 11;
            this.Label16.AutoSize = true;
            this.Label16.BackColor = Color.Transparent;
            point = new Point(0x166, 120);
            this.Label16.Location = point;
            this.Label16.Name = "Label16";
            size = new Size(0x56, 13);
            this.Label16.Size = size;
            this.Label16.TabIndex = 10;
            this.Label16.Text = "Đường d\x00e2y n\x00f3ng";
            this.browseImageOpenFileDialog.FileName = "OpenFileDialog1";
            SizeF ef = new SizeF(6f, 13f);
            this.AutoScaleDimensions = ef;
            this.AutoScaleMode = AutoScaleMode.Font;
            size = new Size(0x339, 440);
            this.ClientSize = size;
            this.ControlBox = false;
            this.Controls.Add(this.C1DockingTab1);
            this.Controls.Add(this.CmdThoat);
            this.Controls.Add(this.CmdOK);
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
            this.KeyPreview = true;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "Frm_ThongTinCongTy";
            this.ShowIcon = false;
            this.StartPosition = FormStartPosition.CenterScreen;
            this.Tag = "HT-0003";
            this.Text = "CAP NHAT THONG TIN CONG TY";
            ((ISupportInitialize) this.C1DockingTab1).EndInit();
            this.C1DockingTab1.ResumeLayout(false);
            this.C1DockingTabPage1.ResumeLayout(false);
            this.C1DockingTabPage1.PerformLayout();
            ((ISupportInitialize) this.ImgPicture).EndInit();
            this.ResumeLayout(false);
        }

        internal virtual Button browseImageButton
        {
            [DebuggerNonUserCode]
            get
            {
                return this._browseImageButton;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.browseImageButton_Click);
                if (this._browseImageButton != null)
                {
                    this._browseImageButton.Click -= handler;
                }
                this._browseImageButton = value;
                if (this._browseImageButton != null)
                {
                    this._browseImageButton.Click += handler;
                }
            }
        }

        internal virtual OpenFileDialog browseImageOpenFileDialog
        {
            [DebuggerNonUserCode]
            get
            {
                return this._browseImageOpenFileDialog;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._browseImageOpenFileDialog = value;
            }
        }

        internal virtual C1DockingTab C1DockingTab1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._C1DockingTab1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._C1DockingTab1 = value;
            }
        }

        internal virtual C1DockingTabPage C1DockingTabPage1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._C1DockingTabPage1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._C1DockingTabPage1 = value;
            }
        }

        internal virtual Button CmdOK
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdOK;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdOK_Click);
                if (this._CmdOK != null)
                {
                    this._CmdOK.Click -= handler;
                }
                this._CmdOK = value;
                if (this._CmdOK != null)
                {
                    this._CmdOK.Click += handler;
                }
            }
        }

        internal virtual Button CmdRemoveImage
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdRemoveImage;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdRemoveImage_Click);
                if (this._CmdRemoveImage != null)
                {
                    this._CmdRemoveImage.Click -= handler;
                }
                this._CmdRemoveImage = value;
                if (this._CmdRemoveImage != null)
                {
                    this._CmdRemoveImage.Click += handler;
                }
            }
        }

        internal virtual Button CmdThoat
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdThoat;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdThoat_Click);
                if (this._CmdThoat != null)
                {
                    this._CmdThoat.Click -= handler;
                }
                this._CmdThoat = value;
                if (this._CmdThoat != null)
                {
                    this._CmdThoat.Click += handler;
                }
            }
        }

        internal virtual PictureBox ImgPicture
        {
            [DebuggerNonUserCode]
            get
            {
                return this._ImgPicture;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._ImgPicture = value;
            }
        }

        internal virtual Label Label1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label1 = value;
            }
        }

        internal virtual Label Label10
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label10;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label10 = value;
            }
        }

        internal virtual Label Label11
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label11;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label11 = value;
            }
        }

        internal virtual Label Label12
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label12;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label12 = value;
            }
        }

        internal virtual Label Label13
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label13;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label13 = value;
            }
        }

        internal virtual Label Label14
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label14;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label14 = value;
            }
        }

        internal virtual Label Label15
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label15;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label15 = value;
            }
        }

        internal virtual Label Label16
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label16;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label16 = value;
            }
        }

        internal virtual Label Label17
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label17;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label17 = value;
            }
        }

        internal virtual Label Label2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label2 = value;
            }
        }

        internal virtual Label Label3
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label3;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label3 = value;
            }
        }

        internal virtual Label Label4
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label4;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label4 = value;
            }
        }

        internal virtual Label Label5
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label5;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label5 = value;
            }
        }

        internal virtual Label Label6
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label6;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label6 = value;
            }
        }

        internal virtual Label Label7
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label7;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label7 = value;
            }
        }

        internal virtual Label Label8
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label8;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label8 = value;
            }
        }

        internal virtual Label Label9
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label9;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label9 = value;
            }
        }

        internal virtual TextBox TxtDiaChiNganHang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtDiaChiNganHang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtDiaChiNganHang = value;
            }
        }

        internal virtual TextBox TxtDiaChiTA
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtDiaChiTA;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtDiaChiTA = value;
            }
        }

        internal virtual TextBox TxtDiaChiTV
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtDiaChiTV;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtDiaChiTV = value;
            }
        }

        internal virtual TextBox TxtDienThoai
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtDienThoai;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtDienThoai = value;
            }
        }

        internal virtual TextBox TxtEmail
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtEmail;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtEmail = value;
            }
        }

        internal virtual TextBox TxtFax
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtFax;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtFax = value;
            }
        }

        internal virtual TextBox TxtHotLine
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtHotLine;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtHotLine = value;
            }
        }

        internal virtual TextBox TxtMaSoThue
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtMaSoThue;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtMaSoThue = value;
            }
        }

        internal virtual TextBox TxtNganHang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtNganHang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtNganHang = value;
            }
        }

        internal virtual TextBox TxtSoTaiKhoanUSD
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtSoTaiKhoanUSD;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtSoTaiKhoanUSD = value;
            }
        }

        internal virtual TextBox TxtSoTaiKhoanVND
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtSoTaiKhoanVND;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtSoTaiKhoanVND = value;
            }
        }

        internal virtual TextBox TxtSwiftCode
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtSwiftCode;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtSwiftCode = value;
            }
        }

        internal virtual TextBox TxtTenAnh
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtTenAnh;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtTenAnh = value;
            }
        }

        internal virtual TextBox TxtTenTaiKhoan
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtTenTaiKhoan;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtTenTaiKhoan = value;
            }
        }

        internal virtual TextBox TxtTenViet
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtTenViet;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtTenViet = value;
            }
        }

        internal virtual TextBox TxtWebsite
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtWebsite;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtWebsite = value;
            }
        }
    }
}

